package com.ksl.kinglockguard.domain;

import com.ksl.kinglockguard.domain.base.BaseNews;


public class H5News extends BaseNews {
	/**左划操作类型
	 *	0=打开系统浏览器(暂时没用)
	 *	1=打开编辑内容页面
	 *	2=打开第三方链接(暂时没用)
	 *	3=打开游戏大厅专题页面
	 *	4=打开游戏大厅详情页面 
	 *	5=打开指定包名应用
	 * **/
    private int slide2browser;

    private String summary;

    //图片相关字段
    private String largeImageUrl;       //锁屏界面显示的大图地址
    private String middleImageUrl;      //列表界面显示的中图地址
    private int middleImageWidth;       //列表界面中图的宽
    private int middleImageHeight;      //列表界面中图的高
    private String smallImageUrl;        //锁屏界面，文字前显示的小图地址
    private String showSmallImage;      //锁屏界面， 是否显示文字前的小图

    // H5游戏特有的字段
    private int engineType;      //引擎类型，如：1表示“白鹭”
    private String cpToken;         //游戏供应商标识码
    private String gameToken;       //单个游戏标识码
    private int playersNumber;   //多少人在玩
    private int gameFlag;        //游戏状态标识：1表示“热门”， 2 表示“最新”
    private String iconUrl;    //游戏桌面图标url
    private String gameName;    //游戏名称
    private int generateDeskIcon;    //是否生成桌面图标   1=生成   2=不生成

    //add by lijc 2015-05-06 start
    //egret 新版本新增字段 
    private String egret_runtime_updateUrl;
	private String game_platformType;
    private String game_ServerUrl;
    private String game_platInfoParam;
    private String play_game_screen_direction;

	//add by lijc 2015-05-06 end
    public static final int GAME_FLAG_HOT = 1;
    public static final int GAME_FLAG_NEW = 2;
    
    public static final int GAME_ENGINE_TYPE_EGRET = 1;
    
    
    public static final String GAME_SCREEN_DIRECTION_VERTICAL = "v";	//竖屏游戏
    public static final String GAME_SCREEN_DIRECTION_HORIZON = "h";		//横屏游戏
    public static final String GAME_SCREEN_DIRECTION_NONE = "b";		//横竖皆可
    
    public String getPlay_game_screen_direction() {
    	return play_game_screen_direction;
    }
    
    public void setPlay_game_screen_direction(String play_game_screen_direction) {
    	android.util.Log.d("lijc","H5news -- set: --- setPlay_game_screen_direction: " + play_game_screen_direction);
    	this.play_game_screen_direction = play_game_screen_direction;
    }

    public String getEgret_runtime_updateUrl() {
		return egret_runtime_updateUrl;
	}

	public void setEgret_runtime_updateUrl(String egret_runtime_updateUrl) {
		this.egret_runtime_updateUrl = egret_runtime_updateUrl;
	}

	public String getGame_platformType() {
		return game_platformType;
	}

	public void setGame_platformType(String game_platformType) {
		this.game_platformType = game_platformType;
	}

	public String getGame_ServerUrl() {
		return game_ServerUrl;
	}

	public void setGame_ServerUrl(String game_ServerUrl) {
		this.game_ServerUrl = game_ServerUrl;
	}

	public String getGame_platInfoParam() {
		return game_platInfoParam;
	}

	public void setGame_platInfoParam(String game_platInfoParam) {
		this.game_platInfoParam = game_platInfoParam;
	}
    
    public int getGenerateDeskIconFlag() {
    	return generateDeskIcon;
    }
    
    public void setGenerateDeskIconFlag(int generateDeskIcon) {
    	this.generateDeskIcon = generateDeskIcon;
    }
    
    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }
    
    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }
    
    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getShowSmallImage() {
        return showSmallImage;
    }

    public void setShowSmallImage(String showSmallImage) {
        this.showSmallImage = showSmallImage;
    }

    public String getLargeImageUrl() {
        return largeImageUrl;
    }

    public void setLargeImageUrl(String largeImageUrl) {
        this.largeImageUrl = largeImageUrl;
    }

    public String getMiddleImageUrl() {
        return middleImageUrl;
    }

    public void setMiddleImageUrl(String middleImageUrl) {
        this.middleImageUrl = middleImageUrl;
    }

    public String getSmallImageUrl() {
        return smallImageUrl;
    }

    public void setSmallImageUrl(String smallImageUrl) {
        this.smallImageUrl = smallImageUrl;
    }

    public int getMiddleImageWidth() {
        return middleImageWidth;
    }

    public void setMiddleImageWidth(int middleImageWidth) {
        this.middleImageWidth = middleImageWidth;
    }

    public int getMiddleImageHeight() {
        return middleImageHeight;
    }

    public void setMiddleImageHeight(int middleImageHeight) {
        this.middleImageHeight = middleImageHeight;
    }

    public int getEngineType() {
        return engineType;
    }

    public void setEngineType(int engineType) {
        this.engineType = engineType;
    }

    public String getCpToken() {
        return cpToken;
    }

    public void setCpToken(String cpToken) {
        this.cpToken = cpToken;
    }

    public String getGameToken() {
        return gameToken;
    }

    public void setGameToken(String gameToken) {
        this.gameToken = gameToken;
    }

    public int getPlayersNumber() {
        return playersNumber;
    }

    public void setPlayersNumber(int playersNumber) {
        this.playersNumber = playersNumber;
    }

    public int getGameFlag() {
        return gameFlag;
    }

    public void setGameFlag(int gameFlag) {
        this.gameFlag = gameFlag;
    }

    public int getSlide2browser() {
        return slide2browser;
    }

    public void setSlide2browser(int slide2browser) {
        this.slide2browser = slide2browser;
    }
}
